﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:BootyBay.PrivateStoreApp.Styles"
    >
    <Style x:Key="ItemDetailPage_install_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Border x:Name="border_Bg" Width="120" Height="32" Opacity="1" Background="{TemplateBinding Background}"></Border>
                        <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="{TemplateBinding Content}" Style="{StaticResource ItemDetailPage_install_TextStyle}"></TextBlock>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="border_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="0.8"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="border_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="0.6"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="AppListPage_clearall_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Vertical">
                        <Image x:Name="btn_Image" Height="40" Width="40" Source="../Images/delete.png"></Image>
                        <TextBlock Margin="0,10,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{TemplateBinding Content}" Style="{StaticResource YourPage_ToggleButton_TextStyle}"></TextBlock>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/delete2.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/delete1.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="AppListPage_install_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Vertical">
                        <Image x:Name="btn_Image" Height="40" Width="40" Source="../Images/install.png"></Image>
                        <TextBlock Margin="0,10,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{TemplateBinding Content}" Style="{StaticResource ItemDetailPage_explain_TextStyle}"></TextBlock>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/install2.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/install1.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="AppsPage_Home_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">

                        <Border   Opacity="0.7" Background="{TemplateBinding Background}"></Border>
                        <Image x:Name="img_Bg" Source="../Images/home.jpg" Width="256" Height="50"></Image>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="img_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/home2.jpg"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="img_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/home1.jpg"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="AppsPage_YourApps_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">

                        <Border   Opacity="0.7" Background="{TemplateBinding Background}"></Border>
                        <Image x:Name="img_Bg" Source="../Images/youapps.jpg" Width="256" Height="50"></Image>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="img_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/youapps2.jpg"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="img_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/youapps1.jpg"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="DownloadAppsPage_Pause_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Vertical">
                        <Image x:Name="btn_Image" Height="40" Width="40" Source="../Images/pause.png"></Image>
                        <TextBlock Margin="0,10,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{TemplateBinding Content}" Style="{StaticResource ItemDetailPage_explain_TextStyle}"></TextBlock>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/pause2.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/pause1.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DownloadAppsPage_Continue_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Vertical">
                        <Image x:Name="btn_Image" Height="40" Width="40" Source="../Images/continue.png"></Image>
                        <TextBlock Margin="0,10,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{TemplateBinding Content}" Style="{StaticResource ItemDetailPage_explain_TextStyle}"></TextBlock>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/continue2.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/continue1.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DownloadAppsPage_Cancle_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Vertical">
                        <Image x:Name="btn_Image" Height="40" Width="40" Source="../Images/cancle.png"></Image>
                        <TextBlock Margin="0,10,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{TemplateBinding Content}" Style="{StaticResource ItemDetailPage_explain_TextStyle}"></TextBlock>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/cancle2.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="btn_Image">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/cancle1.png"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="SearchResultsPage_Search_ButtonStyle" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">

                        <Border   Opacity="0.7" Background="{TemplateBinding Background}"></Border>
                        <Image x:Name="img_Bg" Source="../Images/search.jpg" Width="28" Height="28"></Image>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="PointerOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="img_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/search2.jpg"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Source" Storyboard.TargetName="img_Bg">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="../Images/search1.jpg"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="NavigationBackButtonNormalStyle1" TargetType="Button">
        <Setter Property="Foreground" Value="#FFFFFF"></Setter>
        <!-- Created with FWtoXAML Exporter v0.9.7.8 -->
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid>
                        <Ellipse Height="41" Width="41" Fill="#00FFFFFF"></Ellipse>
                        <!-- Created with FWtoXAML Exporter v0.9.7.8 -->
                        <Grid
	Height="41"
	Width="41"
	Background="#00ffffff">
                            <Grid.Resources />
                            <Path
		Margin="11.92727279663086,17.89090919494629,0,0"
		HorizontalAlignment="Left"
		VerticalAlignment="Top"
		Height="4.472726821899414"
		Width="19.381818771362305"
		Stretch="Fill"
		Opacity="1"
		Data="M 31.309091567993164,22.363636016845703 C31.309091567993164,22.363636016845703 11.92727279663086,22.363636016845703 11.92727279663086,22.363636016845703 11.92727279663086,22.363636016845703 11.92727279663086,17.89090919494629 11.92727279663086,17.89090919494629 11.92727279663086,17.89090919494629 31.309091567993164,17.89090919494629 31.309091567993164,17.89090919494629 31.309091567993164,17.89090919494629 31.309091567993164,22.363636016845703 31.309091567993164,22.363636016845703 z"
		Stroke="#fefefe"
		StrokeThickness="3"
		Fill="#ff0000" />
                            <Path
		Margin="9.371416091918945,10.436363220214844,0,0"
		HorizontalAlignment="Left"
		VerticalAlignment="Top"
		Height="9.690910339355469"
		Width="13.136770248413086"
		Stretch="Fill"
		Opacity="1"
		Data="M 22.50818634033203,10.436363220214844 C22.50818634033203,10.436363220214844 17.376224517822266,10.436363220214844 17.376224517822266,10.436363220214844 17.376224517822266,10.436363220214844 9.371416091918945,20.127273559570312 9.371416091918945,20.127273559570312 9.371416091918945,20.127273559570312 14.503422737121582,20.127273559570312 14.503422737121582,20.127273559570312 14.503422737121582,20.127273559570312 22.50818634033203,10.436363220214844 22.50818634033203,10.436363220214844 z"
		Stroke="#fefefe"
		StrokeThickness="3"
		Fill="#ff0000" />
                            <Path
		Margin="9.371416091918945,20.127273559570312,0,0"
		HorizontalAlignment="Left"
		VerticalAlignment="Top"
		Height="8.945453643798828"
		Width="13.136770248413086"
		Stretch="Fill"
		Opacity="1"
		Data="M 22.50818634033203,29.07272720336914 C22.50818634033203,29.07272720336914 17.376224517822266,29.07272720336914 17.376224517822266,29.07272720336914 17.376224517822266,29.07272720336914 9.371416091918945,20.127273559570312 9.371416091918945,20.127273559570312 9.371416091918945,20.127273559570312 14.503422737121582,20.127273559570312 14.503422737121582,20.127273559570312 14.503422737121582,20.127273559570312 22.50818634033203,29.07272720336914 22.50818634033203,29.07272720336914 z"
		Stroke="#fefefe"
		StrokeThickness="3"
		Fill="#ff0000" />
                        </Grid>

                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>


    </Style>
</ResourceDictionary>
